package dw.catalog

import dw.object.ExtensibleObject

/**
 * Represents a Demandware Catalog.
 */
class Catalog extends ExtensibleObject {

	String		description,
				displayName,
				ID
			
	Category	root
				
    static constraints = {
		description(nullable: true)
		displayName(nullable: true)
		ID(nullable: false)
		
		root(nullable: true)
    }
	
	static mapping = {
		id generator: "uuid", name: "UUID", column: "UUID", unique:"true"
	}
}
